Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

204
Visualizações
How to pass the entire string with the " " character in it

I'm passing some query parameters to an html page. One of these is the title where in some of these there are words with " " characters.

What I notice is that when it reaches the superscript (" ") the title is truncated.

That is, if for example I have the following title:

Chaleco López inaugurates the museum of "him"

the title parameter will be equal to: Chaleco López inaugurates the museum of (so it is incomplete because "him" is missing).

The code that does this is as follows:

var url_string = window.location.href;
var url2 = new URL(url_string);
var titolo_url = url2.searchParams.get("title");
console.log(title_url)
about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Maybe try to use these brackets '' in your title

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda